<div class="tile">
  <div class="tile-heading" style="background: #19ceb2;">总兑换数量<span class="pull-right">
    <?php if ($percentage > 0) { ?>
    <i class="fa fa-caret-up"></i>
    <?php } elseif ($percentage < 0) { ?>
    <i class="fa fa-caret-down"></i>
    <?php } ?>
    </span></div>
  <div class="tile-body" style="background: #29e6c9;"><i class="fa fa-shopping-cart"></i>
    <h2 class="pull-right"><?php echo $total; ?></h2>
  </div>
  <div class="tile-footer" style="background: #19ceb2;"><a href="<?php echo $order; ?>"><?php echo $text_view; ?></a></div>
</div>
